package com.space.user.domain.info.valueobject;

import com.space.components.exception.ExceptionFactory;
import lombok.Getter;

/**
 * @author <a href="mailto:414563035@qq.com">Bedroom</a>
 * @date 2021/4/13 7:20 下午
 */
@Getter
public class Nickname {
    private final String nickname;
    public Nickname(String nickname) {
//        if ("".equals(nickname)) {
//            throw ExceptionFactory.bizException("昵称不能为空");
//        }
        this.nickname = nickname;
    }
}
